Skip to content

feat: generate yadro charm#774

Open
ahmad-can wants to merge 4 commits intocanonical:mainfrom
ahmad-can:feature/generate-yadro-charm
Open

feat: generate yadro charm#774
ahmad-can wants to merge 4 commits intocanonical:mainfrom
ahmad-can:feature/generate-yadro-charm

Conversation

@ahmad-can
Copy link
Copy Markdown

@ahmad-can ahmad-can commented Apr 14, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Yadro (Tatlin FCVolume) storage backend implementation to Sunbeam and integrates it into the existing backend test suite/fixtures so it is discovered and validated alongside the other backends.

Changes:

  • Introduce YadroBackend and YadroConfig (with protocol validation via an enum).
  • Add unit tests for the Yadro backend and config validation.
  • Update shared backend test fixtures and common “all backends” tests to include Yadro.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sunbeam-python/sunbeam/storage/backends/yadro/backend.py Implements the Yadro storage backend and its Pydantic config model.
sunbeam-python/sunbeam/storage/backends/yadro/__init__.py Declares the Yadro backend package.
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds a yadro_backend fixture and includes Yadro in the parametrized backend fixture.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Extends shared backend uniqueness/expectation tests to cover Yadro.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_yadro.py Adds backend-specific unit tests and basic config validation checks for Yadro.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new “yadro” storage backend and wires it into the unit-test matrix to validate backend identity and config validation behavior.

Changes:

  • Introduces YadroBackend + YadroConfig implementation.
  • Adds yadro_backend pytest fixture and includes it in common backend uniqueness/expectation tests.
  • Adds new unit tests for the Yadro backend and protocol validation.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
sunbeam-python/sunbeam/storage/backends/yadro/backend.py New Yadro backend implementation and pydantic config model.
sunbeam-python/sunbeam/storage/backends/yadro/init.py New package initializer for the Yadro backend module.
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds a yadro_backend fixture and includes Yadro in any_backend.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Extends shared tests to cover Yadro type/charm-name uniqueness and expectations.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_yadro.py New tests covering Yadro backend identity and basic config validation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_yadro.py
Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_yadro.py
Comment thread sunbeam-python/tests/unit/sunbeam/storage/backends/test_yadro.py
Comment thread sunbeam-python/sunbeam/storage/backends/yadro/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/yadro/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/yadro/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/yadro/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/yadro/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/yadro/backend.py Outdated
@ahmad-can ahmad-can force-pushed the feature/generate-yadro-charm branch from 147a12c to b62d747 Compare April 21, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants